package com.java.demo.io;

import java.nio.CharBuffer;

/**
 * @auther zhangwj
 * @date 2020/6/3 9:50 上午
 */
public class IODemo {

    public static void main(String[] args) {
        char[] chars = {'A', 'B', 'C', 'a', 'b', 'c'};
        CharBuffer charBuffer = CharBuffer.wrap(chars);
        System.out.println(charBuffer);
    }
}
